<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			html {
				box-sizing: border-box;
			}

			*,
			*::before,
			*::after {
				box-sizing: inherit;
			}

			/* 			#app {
				transform: translateY(31.25rem);
				width: 300px;
				height: 300px;
				background-color: #FF69B4;
			}

			#app:hover {
				transform: translateY(100px) translateX(100px);
				width: 100px;
				height: 100px;
				background-color: #FF0000;
			} */

			div {
				border: solid red;
				transform: translate(-30px, 20px) rotate(45deg);
				width: 140px;
				height: 60px;
				padding: 15px;
				margin: 15px;
			}
		</style>
	</head>
	<body>
		<div id="app">
			这是一个div
		</div>
	</body>
	<script></script>
</html>
